package cn.xy.org.domain;

import cn.xy.basic.domain.Base;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 实例类
 */
@Data
public class Department extends Base {
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private Long manager_id;
    private Long parent_id;
    private Long shop_id;
    private Employee manger;//部门管理员
    private Department parent;
    //子集
    private List<Department> children = new ArrayList<>();
}
